namespace EyeOpen.Linq
{
	using System;

	public static class BoolExtensions
	{
		public static void Execute(this bool value, Action action)
		{
			if (!value)
			{
				return;
			}

			action();
		}
	}
}